<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>下载页面</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
		<link rel="stylesheet" type="text/css" href="styles.css">
		-->
		<jsp:include page="../loginUser.jsp" flush="true"/>
		
		<jsp:include page="../basic/easyui_loder.jsp" flush="true"/>
		<script type="text/javascript" src="<%=path%>/js-lib/lucene/jsUtil.js"></script>
		<script type="text/javascript" src="<%=path%>/js-lib/publish/downloadHtml.js"></script>
		

	</head>

	<body>
		<div>
			<table id="htmlListTab"></table>
		</div>
		
		<!-- 新增窗口 -->
		<div id="newDownloadWin" title="下载新页面"  style="width: 740px; height: 250px; padding: 20px; ">
			<form style="text-align: center;" method="post" id="downloadHtmlForm" >
				
				<table border="0" align="center">
					<tr>
						<td>页面url:</td>
						<td colspan="2">
							<input style="width: 600px;" type="text" id="downloadUrl" name="downloadUrl" />
						</td>
					</tr>
					<tr>
						<td width="80px;">页面名称:</td>
						<td>
							<input style="width: 250px;" type="text" id="htmlName" name="htmlName" />
						</td>
						<td width="350px">
							<div style="font-size: x-small; color: red; text-align: left;">
								提示：页面名称可自定义，但必须是英文或者数字<br/>如果重复，会将原来的替换
							</div>
						</td>
					</tr>
					<tr>
						<td>页面编码:</td>
						<td>
							<input id="encoding" name="encoding" />
						</td>
						<td></td>
					</tr>
				</table>
				
				<div style="padding-top: 30px;">
					<a id="btnReset" href="javaScript:void(0)" onclick="resetDownload()">重置</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<a id="btnSubmit" href="javaScript:void(0)" onclick="submitDownload()">提交</a>
				</div>
			</form>
		</div>
		<div style="background-color: #E8F2FE; height: 60px; width: 100%;"></div>
		
	</body>
</html>
